package com.itheima.a11abstract;

public class Test {
    public static void main(String[] args) {
        Student s = new Student("张三",18);
        System.out.println(s.getName() + " " + s.getAge());

        Person c = new Student("李四",20);
        System.out.println(c.getName() + " " + c.getAge());


    }
}
